Connectivity Software User's Guide and Reference
Implicit Type Conversion Operator (UAAttributeDataPayload<TValue>)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.ComplexEventProcessing Namespace > UAAttributeDataPayload<TValue> Class : Implicit Type Conversion Operator
OPC-UA attribute value, together with status code and timestamps.

The value of this parameter can be null (Nothing in Visual Basic).

Converts an OPC-UA attribute value, together with status code and timestamps, to an event payload.
Syntax
'Declaration
 
<JetBrains.Annotations.CanBeNullAttribute()>
Public Operator Widening CType( _
   ByVal attributeData As UAAttributeData(Of TValue) _
) As UAAttributeDataPayload(Of TValue)
'Usage
 
[JetBrains.Annotations.CanBeNull()]
public UAAttributeDataPayload<TValue> operator implicit( 
   UAAttributeData<TValue> attributeData
)
[JetBrains.Annotations.CanBeNull()]
public:
operator UAAttributeDataPayload<TValue^>^ ( 
   UAAttributeData<TValue^>^ attributeData
)

Parameters

attributeData
OPC-UA attribute value, together with status code and timestamps.

The value of this parameter can be null (Nothing in Visual Basic).

Return Value

Returns an event payload containing the data given.

This method can return null (Nothing in Visual Basic).

Remarks

This operator is equivalent to FromUAAttributeData.

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also